<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:t="http://myfaces.apache.org/tomahawk" template="template.xhtml">

	<ui:define name="content">
		<h:dataTable id="dataTable" var="item" value="#{catalog.items}" 
					 preserveDataModel="true" sortableModel="true">
			<h:column defaultSorted="true" sortable="true" sortPropertyName="id">
				<h:outputText value="#{item.name}"></h:outputText>
			</h:column>
			<h:column sortable="true" sortPropertyName="value">
				<h:outputText value="#{item.address}"></h:outputText>
			</h:column>
		</h:dataTable>
	</ui:define>

</ui:composition>
